package com.xln.furns.service;

import com.xln.furns.entity.Furn;
import com.xln.furns.entity.Page;

import java.util.List;

public interface FurnService {
    public List<Furn> queryFurn();
    public int addFurn(Furn furn);

    public int deleteFurn(int id);
    public Furn queryFurnById(int id);
    public int updateFurn(Furn furn);

    public Page<Furn> page(Integer pageNo, Integer pageSize);

    public Page<Furn> pageByname(int pageNo,int pageSize,String name);
}
